<template>
  <el-form ref="eventForm" :model="eventForm" :disabled="disabled">
    <template v-for="(value, key) in eventForm">
      <el-form-item :key="key" :label="key" :prop="key">
        <el-input
          v-model="eventForm[key]"
          type="textarea"
          :rows="3"
          clearable
        />
      </el-form-item>
    </template>
  </el-form>
</template>

<script>
export default {
  props: {
    eventForm: {
      type: Object,
      default: () => {}
    },
    disabled: {
      type: Boolean
    }
  }
};
</script>

<style lang="scss" scoped></style>
